package com.dingding.special.order.cancel.dao;

import com.dingding.common.core.base.dto.ResponseEntity;
import com.dingding.common.core.beans.special.UserspecialorderT;
import com.dingding.special.order.cancel.dto.CancelSpecialOrderNoticeDTO;
import com.dingding.special.order.cancel.dto.ReqCancelSpecialOrderDTO;
import com.dingding.special.order.cancel.dto.ResCancelSpecialOrderDTO;

/**
 * 
 * @ClassName: ICancelSpecialOrderDao 
 * @Description: 取消临时专车订单DAO接口
 * @author YHQ
 * @date 2016年8月21日 下午7:40:17
 * @since V2.4.0
 * 
 */
public interface ICancelSpecialOrderDao{

	/**
	 * 
	 * @Title: getUserSpecialOrdertInfo 
	 * @Description: 根据订单Id获取专车订单信息
	 * @param oid 订单Id
	 * @author YHQ 
	 * @since V2.4.0
	 * @return UserspecialorderT    返回类型
	 * 
	 */
	public UserspecialorderT getUserSpecialOrdertInfo(String oid);
	
	/**
	 * 
	 * @Title: getNoticeInfo 
	 * @Description: 获取取消订单通知信息
	 * @param oid 订单Id
	 * @param cancelType 取消类型   1:乘客取消 2:车主取消 
	 * @author YHQ 
	 * @return CancelSpecialOrderNoticeDTO    返回类型
	 * 
	 */
	public CancelSpecialOrderNoticeDTO getNoticeInfo(String oid,int cancelType);
	
	
	public UserspecialorderT operateOldOrderT(ResponseEntity<ResCancelSpecialOrderDTO> response,
			ReqCancelSpecialOrderDTO reqCancelSpecialOrderDTO);
	
}
